//
//  Header.h
//  面包
//
//  Created by dllo on 15/12/21.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#ifndef Header_h
#define Header_h



#define WIDTH [[UIScreen mainScreen] bounds].size.width
#define HEIGHT [[UIScreen mainScreen] bounds].size.height
#define IMAGE [UIImage imageNamed:@"lode.jpg"]
#define Y frame.origin.y
#define X frame.origin.x
#define H frame.size.height
#define W frame.size.width

#if DEBUG
#define NSLog(FORMAT, ...) fprintf(stderr,"[%s:%d行] %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);
#else
#define NSLog(FORMAT, ...) nil
#endif

#define DOCUMENTPATH [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES)lastObject]

#import "AFNetworkTool.h"
#import "UIImageView+WebCache.h"
#import "MJRefresh.h"
#import "MBProgressHUD.h"
#import "MBProgressHUD+LJ.h"
#import "GiFHUD.h"
#import "UIImage+GIF.h"
#import <SMS_SDK/SMSSDK.h>
#import "SDCycleScrollView.h"

#import "Masonry.h"


#import "SizeforLabel.h"



#endif /* Header_h */
